package com.lnsf.service;
import java.util.List;

/**
 * @author ddxing
 * @time 2017-7-26
 */
import org.springframework.data.domain.Page;

import com.lnsf.entity.Goods;
import com.lnsf.entity.User;

public interface IGoodsService {
	
	public void delete(Integer id);
	
	public int update(int id,String name);
	
	public Goods findOne(Integer id);
	
	public Goods save(Goods goods);
	
	Page<Goods> getPage(int pageNo, int pageSize);
	
	public List<Goods> findGoodsByUser(User user);

}
